package com.appkubes.mall.restful.application.common.sms.service;

import com.appkubes.mall.core.entity.MallSmsCode;
import com.appkubes.mall.core.service.BaseMallSmsCodeService;
import com.appkubes.mall.restful.application.common.sms.entity.vo.CodeVO;
import com.appkubes.mall.restful.application.common.sms.entity.vo.TelVo;
import com.appkubes.mall.restful.application.user.user.dao.CodeDao;

public interface CodeService extends BaseMallSmsCodeService {
    CodeDao getCodeDao();
    Boolean addCode(CodeVO codeVO);
    MallSmsCode getSmsSurvivor(TelVo telVo);
    MallSmsCode getSmsSurvivor(CodeVO codeVO);
    Boolean smsDie(MallSmsCode mallSmsCode);
}
